﻿using SqlSugar;
using System;

namespace NetCore.Model.Enity
{
    /// <summary>
    /// 拉拔设备订单表
    ///</summary>
    [SugarTable("order_drawingequipment")]
    public class OrderDrawingequipment
    {
        /// <summary>
        /// 主键id
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 炉号
        ///</summary>
        [SugarColumn(ColumnName = "heat_Number")]
        public string HeatNumber { get; set; }

        /// <summary>
        /// 批号
        ///</summary>
        [SugarColumn(ColumnName = "batch_Number")]
        public string BatchNumber { get; set; }

        /// <summary>
        /// 工字轮RFID
        ///</summary>
        [SugarColumn(ColumnName = "spool_RFid")]
        public string SpoolRfid { get; set; }

        /// <summary>
        /// 设备id
        ///</summary>
        [SugarColumn(ColumnName = "equipment_id")]
        public int EquipmentId { get; set; }

        /// <summary>
        /// 原材料id
        ///</summary>
        [SugarColumn(ColumnName = "rawmaterial_id")]
        public int RawmaterialId { get; set; }

        /// <summary>
        /// 班次id
        ///</summary>
        [SugarColumn(ColumnName = "shift_id")]
        public long ShiftId { get; set; }

        /// <summary>
        /// 重量
        ///</summary>
        [SugarColumn(ColumnName = "weight")]
        public string Weight { get; set; }

        /// <summary>
        /// 产量
        ///</summary>
        [SugarColumn(ColumnName = "yield")]
        public string Yield { get; set; }

        /// <summary>
        /// 操作者
        ///</summary>
        [SugarColumn(ColumnName = "userid")]
        public int Userid { get; set; }

        /// <summary>
        /// 生产时间
        ///</summary>
        [SugarColumn(ColumnName = "productionTime")]
        public DateTime ProductionTime { get; set; }
    }
}